<!doctype html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>基于 Bootstrap 3 的简单分页插件</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="https://www.jq22.com/jquery/bootstrap-3.3.4.css">
</head>
<body>
<div class="container">
    <div class="myPagination"></div>
</div>

<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="Pagination.js"></script>
<script>
    $(".myPagination").Pagination({
        page:1,
        count:1000,
		groups: 10,
        onPageChange:function (page) {
            console.log("当前是:" + page);
        }
    });
</script>
</body>
</html>